package com.cq.service;

import com.cq.pojo.LoginUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

/**
 * @author lap
 * @version 1.0
 * @date 2021/8/12 13:31
 */
public interface LoginService {

    LoginUser QueryLoginByStudent(Integer username,String password);

    LoginUser QueryLoginByEmp(@Param("username") String username, @Param("password") String password);

//    LoginUser QueryLoginByAdmin(@Param("username") String username,@Param("password") String password);

    LoginUser selectByUsername(String username);


    LoginUser selectByUsernameByEmp(String username);
    LoginUser selectByUsernameByStudent(Integer username);

    LoginUser loginOut();

}
